public class Shape {
    double x,y,z;
    public double C(double x,double y){
        return 2*(x+y);
    }
    public double S(double x,double y){
        return x*y;
    }

}
